package com.jade.zsy.purchase.entity;

import com.jade.bss.db.IdEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: jinya
 * Date: 2017/6/3
 * Time: 13:50
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@Entity
@Table(name = "ZSY_PUR_RECEIPT_DETAIL")
public class ReceiptDetail extends IdEntity {
    @Column(name = "receiptId", updatable = false, nullable = false, length = 25)
    private long receiptId=0; /** 单据编号 **/
    @Column(name = "recordNo", updatable = false, nullable = false, length = 25)
    private String recordNo; /** 单据编号 **/
    @Column(name = "skuId", updatable = false, nullable = false, length = 100)
    private long skuId=0; /** 商品编号 **/
    @Column(name = "skuCode", updatable = false, nullable = false, length = 100)
    private String skuCode; /** 货号 **/
    @Column(name = "warehouseId", updatable = false, nullable = false, length = 100)
    private long warehouseId; /** 仓库编号 **/
    @Column(name = "warehouseCode", updatable = false, nullable = false, length = 100)
    private String warehouseCode; /** 仓库编号 **/
    @Column(name = "price", updatable = false, nullable = false, length = 100)
    private double price;/** 单价 **/
    @Column(name = "qty", updatable = false, nullable = false, length = 100)
    private int qty;/** 数量 **/
    @Column(name = "amount", updatable = false, nullable = false, length = 100)
    private double amount;/** 采购费用 **/
    @Column(name = "remark", updatable = false, nullable = false, length = 100)
    private String remark;

    public long getReceiptId() {
        return receiptId;
    }

    public void setReceiptId(long receiptId) {
        this.receiptId = receiptId;
    }

    public String getRecordNo() {
        return recordNo;
    }

    public void setRecordNo(String recordNo) {
        this.recordNo = recordNo;
    }

    public long getSkuId() {
        return skuId;
    }

    public void setSkuId(long skuId) {
        this.skuId = skuId;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    /** 备注 **/


    public long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
